using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace NCP.Model
{
    /// <summary>
    /// 操作日志记录
    /// </summary>
    [Serializable]
    [SugarTable("SysOperLog")]
    public partial class SysOperLog : BaseModel2
    {

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }

        /// <summary>
        /// 事件类型
        /// </summary>
        [SugarColumn(ColumnName = "EventType")]
        public string EventType { get; set; }

        /// <summary>
        /// 事件内容
        /// </summary>
        [SugarColumn(ColumnName = "EventCon")]
        public string EventCon { get; set; }

        /// <summary>
        /// IP地址
        /// </summary>
        [SugarColumn(ColumnName = "IP")]
        public string IP { get; set; }

        /// <summary>
        /// 设备位置信息
        /// </summary>
        [SugarColumn(ColumnName = "Memo")]
        public string Memo { get; set; }

        /// <summary>
        /// 修改前内容
        /// </summary>
        [SugarColumn(ColumnName = "OldCon")]
        public string OldCon { get; set; }

        /// <summary>
        /// 修改后内容
        /// </summary>
        [SugarColumn(ColumnName = "NewCon")]
        public string NewCon { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        [SugarColumn(ColumnName = "OperCode")]
        public string OperCode { get; set; }

        /// <summary>
        /// 操作者名称
        /// </summary>
        [SugarColumn(ColumnName = "OperName")]
        public string OperName { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        [SugarColumn(ColumnName = "OperDate")]
        public DateTime OperDate { get; set; }

    }
}